package com.cl.entity;

import java.io.Serializable;

import javax.persistence.*;

import com.cl.entity.common.DBObject;

import java.math.BigDecimal;
import java.util.Date;

/**
 * The persistent class for the BASE_PAYFACTOR database table.
 * 
 */
@Entity
@Table(name="BASE_PAYFACTOR")
public class BasePayfactor implements Serializable, DBObject {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="BASE_PAY_FACTOR_ID_GENERATOR", sequenceName="BASE_PAYFACTOR_SEQ", allocationSize=1, initialValue=1)
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="BASE_PAY_FACTOR_ID_GENERATOR")
	private Long id;

	@Column(length=1200)
	private String expressions;

	@Column(length=255)
	private String notes;

	@Column(precision=10)
	private BigDecimal ord;

	@Column(name="PAY_FACTOR", length=255)
	private String payFactor;

	@Column(name="TYPE", length=255)
	private String type;

	public BasePayfactor() {
	}

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getExpressions() {
		return this.expressions;
	}

	public void setExpressions(String expressions) {
		this.expressions = expressions;
	}

	public String getNotes() {
		return this.notes;
	}

	public void setNotes(String notes) {
		this.notes = notes;
	}

	public BigDecimal getOrd() {
		return this.ord;
	}

	public void setOrd(BigDecimal ord) {
		this.ord = ord;
	}

	public String getPayFactor() {
		return this.payFactor;
	}

	public void setPayFactor(String payFactor) {
		this.payFactor = payFactor;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	@Override
	public Object getPrimaryId() {
		// TODO Auto-generated method stub
		return id;
	}

	@Override
	public void setDcCreate(Date dcCreate) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public Date getDcCreate() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void setLastUpdate(Date lastUpdate) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public Date getLastUpdate() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void setDcEditor0(String dcEditor0) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public String getDcEditor0() {
		// TODO Auto-generated method stub
		return null;
	}

}